cmake_minimum_required( VERSION 2.8 )
# 设置编译模式
set( CMAKE_BUILD_TYPE "Debug" )
# 设置PROJECT_NAME变量
set(PROJECT_NAME main)
# 声明一个 cmake 工程
project (${PROJECT_NAME})
aux_source_directory(src DIR_SRCS)
add_executable (${PROJECT_NAME} ${DIR_SRCS})
include_directories("include/")